	#{extends 'main.html' /}
#{set title:'close Topic ' /}
<form action="@{Topics.closeTopic()}" method="post">
	<div>
	<p>
	#{if flag==false}
                  The topic is already closed  
                #{/if}
#{if flag2==false}
                  you are not allowed to close this Topic 
                #{/if}
 #{if flag==true&&flag2==true}
 
    Topic is closed succuessfully
    #{/if}
	
	
		
	</p>
	</div>>

	
	<a href ="@{viewTopics()}">back to Topics </a>
</form>

